.class Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$1;
.super Ljava/lang/Object;
.source "ZMDownloadListActivity.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->ensureSomeGroupIsExpanded()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;


# direct methods
.method constructor <init>(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    .prologue
    .line 168
    iput-object p1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$1;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .registers 5

    .prologue
    const/4 v3, 0x0

    .line 170
    iget-object v1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$1;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    # getter for: Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->mDateSortedAdapter:Lcom/zuimeia/sdk/download/providers/downloads/ui/DateSortedDownloadAdapter;
    invoke-static {v1}, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->access$300(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;)Lcom/zuimeia/sdk/download/providers/downloads/ui/DateSortedDownloadAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/zuimeia/sdk/download/providers/downloads/ui/DateSortedDownloadAdapter;->getGroupCount()I

    move-result v1

    if-nez v1, :cond_e

    .line 182
    :cond_d
    :goto_d
    return-void

    .line 173
    :cond_e
    const/4 v0, 0x0

    .local v0, "group":I
    :goto_f
    iget-object v1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$1;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    # getter for: Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->mDateSortedAdapter:Lcom/zuimeia/sdk/download/providers/downloads/ui/DateSortedDownloadAdapter;
    invoke-static {v1}, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->access$300(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;)Lcom/zuimeia/sdk/download/providers/downloads/ui/DateSortedDownloadAdapter;

    move-result-object v1

    invoke-virtual {v1}, Lcom/zuimeia/sdk/download/providers/downloads/ui/DateSortedDownloadAdapter;->getGroupCount()I

    move-result v1

    if-ge v0, v1, :cond_2a

    .line 174
    iget-object v1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$1;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    # getter for: Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->mDateOrderedListView:Landroid/widget/ExpandableListView;
    invoke-static {v1}, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->access$400(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;)Landroid/widget/ExpandableListView;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/widget/ExpandableListView;->isGroupExpanded(I)Z

    move-result v1

    if-nez v1, :cond_d

    .line 173
    add-int/lit8 v0, v0, 0x1

    goto :goto_f

    .line 178
    :cond_2a
    iget-object v1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$1;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    # getter for: Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->isExpanded:Z
    invoke-static {v1}, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->access$500(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;)Z

    move-result v1

    if-nez v1, :cond_d

    iget-object v1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$1;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    # getter for: Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->mDateOrderedListView:Landroid/widget/ExpandableListView;
    invoke-static {v1}, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->access$400(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;)Landroid/widget/ExpandableListView;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/widget/ExpandableListView;->isGroupExpanded(I)Z

    move-result v1

    if-nez v1, :cond_d

    .line 179
    iget-object v1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$1;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    const/4 v2, 0x1

    # setter for: Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->isExpanded:Z
    invoke-static {v1, v2}, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->access$502(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;Z)Z

    .line 180
    iget-object v1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$1;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    # getter for: Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->mDateOrderedListView:Landroid/widget/ExpandableListView;
    invoke-static {v1}, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->access$400(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;)Landroid/widget/ExpandableListView;

    move-result-object v1

    invoke-virtual {v1, v3}, Landroid/widget/ExpandableListView;->expandGroup(I)Z

    goto :goto_d
.end method
